![]() |
PBHOpenRFDenyAsync |
||||
Header: | Files.h | Carbon status: | Supported | |
Opens a file’s resource fork using the access deny modes.
OSErr PBHOpenRFDenyAsync ( HParmBlkPtr paramBlock );
A pointer to a basic HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname.
On input, a volume specification.
On output, the file reference number
On input, access rights data.
On input, the directory ID.
The result code opWrErr is returned if you’ve requested write permission and you have already opened the file for writing; in that case, the existing file reference number is returned in ioRefNum. You should not use this reference number unless your application originally opened the file.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)